/*
 * Useroutputinterface.h
 *
 *  Created on: Jun 6, 2011
 *      Author: Mario Hock
 */

#ifndef MESSAGEHANDLERINTERFACE_H_
#define MESSAGEHANDLERINTERFACE_H_

#include "../User.h"
#include "../messages/TransportMessage.h"

class MessageHandlerInterface
{
public:
  virtual void handleMessage(TransportMessage* msg, TransportMessage::MESSAGE_TYPE type, uint8_t subtype, UserPtr user) = 0;
// XXX deprecated
//  virtual void handleACK(omnibus_seq_num seq, TransportMessage::MESSAGE_TYPE type, uint8_t subtype, UserPtr user) = 0;
};

#endif /* MESSAGEHANDLERINTERFACE_H_ */
